package com.yuyang.wifi.utils.eventbus;

/**
 * 接收基础消息
 * Created by zhuyuli on 2017/7/18.
 */

public class BaseEvent<T> {
    private int tagInt;
    private int tagInt2;
    private String tagString;
    private T data;

    public BaseEvent(T data){
        this.data = data;
    }

    public BaseEvent(int tagInt, T data) {
        this.tagInt = tagInt;
        this.data = data;
    }
    public BaseEvent(String tagString, T data) {
        this.tagString = tagString;
        this.data = data;
    }

    public BaseEvent(int tagInt, String tagString, T data) {
        this.tagInt = tagInt;
        this.tagString = tagString;
        this.data = data;
    }

    public BaseEvent(int tagInt, int tagInt2, String tagString, T data) {
        this.tagInt = tagInt;
        this.tagInt2 = tagInt2;
        this.tagString = tagString;
        this.data = data;
    }


    public String getTagString() {
        return tagString;
    }

    public void setTagString(String tagString) {
        this.tagString = tagString;
    }

    public int getTagInt() {
        return tagInt;
    }

    public void setTagInt(int tagInt) {
        this.tagInt = tagInt;
    }

    public int getTagInt2() {
        return tagInt2;
    }

    public void setTagInt2(int tagInt2) {
        this.tagInt2 = tagInt2;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
